package com.czy.owner.entity;

import java.util.List;

/**
 * Created by King on 2017-05-19
 */

public class WorkShowEntity {
    private int showDataType;               // 0 是组标题 1 item
    private Object showData;                // 这里的对象根据showDataType 来保存  0 存储的就是WorkGroup 1 存储的就是WorkDetail

    /**
     * superModelsId : 0
     * sonModels : [{"superModelsId":29,"modelsName":"小保养2","modelsLogo":"","goods":[{"goodsId":112,"goodsBrandId":57,"goodsBriefCode":"","description":"飞天牌航天飞机","totalCount":1027,"delFlag":"false","remainingCount":966,"needService":"false","carAccId":0,"onTime":0,"modifyTime":1487125117012,"price":10,"recommendValue":0,"unitId":2,"goodsSpecValuesPrice":22,"belongsType":"store","belongsTypeId":"0","goodsName":"飞天牌航天飞机","chName":"阿达","goodsDetails":null,"costPrice":0,"fromGoodsId":0,"sort":1,"storeId":285,"specGroupKey":"2222222","createTime":1480901011169,"servicePrice":-1,"purchaseOrderId":0,"goodsCode":"SP1480901011169","offTime":0,"goodsLogo":"http://192.168.8.50:8080/res/download/6830","categoryId":193,"status":"on","logisticsTemplateId":89},{"goodsId":393,"goodsBrandId":168,"goodsBriefCode":"","description":"","totalCount":0,"delFlag":"false","remainingCount":0,"needService":"true","carAccId":57,"onTime":0,"modifyTime":0,"price":1,"recommendValue":20,"unitId":1,"goodsSpecValuesPrice":0,"belongsType":"system","belongsTypeId":"0","goodsName":"东方实打实大撒多所大所大奥所多东方实打实大撒多所大所大奥所多","chName":"东方","goodsDetails":"打算的撒的撒多撒多多多","costPrice":0,"fromGoodsId":0,"sort":999,"storeId":0,"specGroupKey":"29f469757e5d4886847969f1978e86ef","createTime":1494897348917,"servicePrice":-1,"purchaseOrderId":0,"goodsCode":"SP1494897348917","offTime":0,"goodsLogo":"http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png","categoryId":641,"status":"on","logisticsTemplateId":97},null],"sort":2,"modelsId":31,"status":"enable"},{"superModelsId":29,"modelsName":"小保养3","modelsLogo":"","goods":[{"goodsId":112,"goodsBrandId":57,"goodsBriefCode":"","description":"飞天牌航天飞机","totalCount":1027,"delFlag":"false","remainingCount":966,"needService":"false","carAccId":0,"onTime":0,"modifyTime":1487125117012,"price":10,"recommendValue":0,"unitId":2,"goodsSpecValuesPrice":22,"belongsType":"store","belongsTypeId":"0","goodsName":"飞天牌航天飞机","chName":"阿达","goodsDetails":null,"costPrice":0,"fromGoodsId":0,"sort":1,"storeId":285,"specGroupKey":"2222222","createTime":1480901011169,"servicePrice":-1,"purchaseOrderId":0,"goodsCode":"SP1480901011169","offTime":0,"goodsLogo":"http://192.168.8.50:8080/res/download/6830","categoryId":193,"status":"on","logisticsTemplateId":89},{"goodsId":393,"goodsBrandId":168,"goodsBriefCode":"","description":"","totalCount":0,"delFlag":"false","remainingCount":0,"needService":"true","carAccId":57,"onTime":0,"modifyTime":0,"price":1,"recommendValue":20,"unitId":1,"goodsSpecValuesPrice":0,"belongsType":"system","belongsTypeId":"0","goodsName":"东方实打实大撒多所大所大奥所多东方实打实大撒多所大所大奥所多","chName":"东方","goodsDetails":"打算的撒的撒多撒多多多","costPrice":0,"fromGoodsId":0,"sort":999,"storeId":0,"specGroupKey":"29f469757e5d4886847969f1978e86ef","createTime":1494897348917,"servicePrice":-1,"purchaseOrderId":0,"goodsCode":"SP1494897348917","offTime":0,"goodsLogo":"http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png","categoryId":641,"status":"on","logisticsTemplateId":97},null],"sort":3,"modelsId":32,"status":"enable"}]
     * modelsName : 小保养
     * modelsLogo :
     * sort : 3
     * modelsId : 29
     * status : enable
     */

    private int superModelsId;
    private String modelsName;
    private String modelsLogo;
    private int sort;
    private int modelsId;
    private String status;
    private List<SonModelsBean> sonModels;

    public int getSuperModelsId() {
        return superModelsId;
    }

    public void setSuperModelsId(int superModelsId) {
        this.superModelsId = superModelsId;
    }

    public String getModelsName() {
        return modelsName;
    }

    public void setModelsName(String modelsName) {
        this.modelsName = modelsName;
    }

    public String getModelsLogo() {
        return modelsLogo;
    }

    public void setModelsLogo(String modelsLogo) {
        this.modelsLogo = modelsLogo;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getModelsId() {
        return modelsId;
    }

    public void setModelsId(int modelsId) {
        this.modelsId = modelsId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<SonModelsBean> getSonModels() {
        return sonModels;
    }

    public void setSonModels(List<SonModelsBean> sonModels) {
        this.sonModels = sonModels;
    }

    public int getShowDataType() {
        return showDataType;
    }

    public void setShowDataType(int showDataType) {
        this.showDataType = showDataType;
    }

    public Object getShowData() {
        return showData;
    }

    public void setShowData(Object showData) {
        this.showData = showData;
    }

    public static class SonModelsBean {
        /**
         * superModelsId : 29
         * modelsName : 小保养2
         * modelsLogo :
         * goods : [{"goodsId":112,"goodsBrandId":57,"goodsBriefCode":"","description":"飞天牌航天飞机","totalCount":1027,"delFlag":"false","remainingCount":966,"needService":"false","carAccId":0,"onTime":0,"modifyTime":1487125117012,"price":10,"recommendValue":0,"unitId":2,"goodsSpecValuesPrice":22,"belongsType":"store","belongsTypeId":"0","goodsName":"飞天牌航天飞机","chName":"阿达","goodsDetails":null,"costPrice":0,"fromGoodsId":0,"sort":1,"storeId":285,"specGroupKey":"2222222","createTime":1480901011169,"servicePrice":-1,"purchaseOrderId":0,"goodsCode":"SP1480901011169","offTime":0,"goodsLogo":"http://192.168.8.50:8080/res/download/6830","categoryId":193,"status":"on","logisticsTemplateId":89},{"goodsId":393,"goodsBrandId":168,"goodsBriefCode":"","description":"","totalCount":0,"delFlag":"false","remainingCount":0,"needService":"true","carAccId":57,"onTime":0,"modifyTime":0,"price":1,"recommendValue":20,"unitId":1,"goodsSpecValuesPrice":0,"belongsType":"system","belongsTypeId":"0","goodsName":"东方实打实大撒多所大所大奥所多东方实打实大撒多所大所大奥所多","chName":"东方","goodsDetails":"打算的撒的撒多撒多多多","costPrice":0,"fromGoodsId":0,"sort":999,"storeId":0,"specGroupKey":"29f469757e5d4886847969f1978e86ef","createTime":1494897348917,"servicePrice":-1,"purchaseOrderId":0,"goodsCode":"SP1494897348917","offTime":0,"goodsLogo":"http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png","categoryId":641,"status":"on","logisticsTemplateId":97},null]
         * sort : 2
         * modelsId : 31
         * status : enable
         */

        private int superModelsId;
        private String modelsName;
        private String modelsLogo;
        private int sort;
        private int modelsId;
        private String status;
        private List<GoodsEntity> goods;
        private boolean isExpanded;
        private boolean isPicked;

        public int getSuperModelsId() {
            return superModelsId;
        }

        public void setSuperModelsId(int superModelsId) {
            this.superModelsId = superModelsId;
        }

        public String getModelsName() {
            return modelsName;
        }

        public void setModelsName(String modelsName) {
            this.modelsName = modelsName;
        }

        public String getModelsLogo() {
            return modelsLogo;
        }

        public void setModelsLogo(String modelsLogo) {
            this.modelsLogo = modelsLogo;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getModelsId() {
            return modelsId;
        }

        public void setModelsId(int modelsId) {
            this.modelsId = modelsId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public List<GoodsEntity> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsEntity> goods) {
            this.goods = goods;
        }

        public boolean isExpanded() {
            return isExpanded;
        }

        public void setExpanded(boolean expanded) {
            isExpanded = expanded;
        }

        public boolean isPicked() {
            return isPicked;
        }

        public void setPicked(boolean picked) {
            isPicked = picked;
        }
    }

}
